home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / devel201.zip / SPELTEST.H < prev    next >
Text File  |  1995-02-19  |  2KB  |  63 lines

  1. /**************************************************************************************************
  2.  
  3.     SPELTEST
  4.     Program to test spelling checker.
  5.  
  6.     Written and copyright by Brian J Quinion 1995.
  7.  
  8.     Version for Microsoft Windows.
  9.     Version:  0.01 (Production)
  10.     Date:     19 Feb 1995
  11.     Module:   SPELTEST.H
  12.  
  13. **************************************************************************************************/
  14.  
  15. /* Other includes */
  16.     #include <windows.h>
  17.     #include <string.h>
  18.     #include <stdlib.h>
  19.     #include <stdio.h>
  20.     #include <dir.h>
  21.     #include "res.h"
  22.  
  23. /* Spelling checker */
  24.     #include "spell.h"
  25.  
  26. /* Global structure definitions and concted defines */
  27.  
  28.     /* Definitions */
  29.  
  30.     /* Main globals structure definition */
  31.     struct globals
  32.     {
  33.         HINSTANCE        hInst;
  34.                 char                    szProgDir[MAXPATH];
  35.     };
  36.  
  37.     /* Options structure definition */
  38.     struct options
  39.     {
  40.         unsigned         bNothing    : 1;
  41.     };
  42.  
  43. /* Other structures */
  44.     /* None */
  45.  
  46. /* Function definitions */
  47.     /* Functions in ST-MAIN.C */
  48.     int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
  49.     void LoadSettings(void);
  50.     void SaveSettings(void);
  51.     void LoadResources(void);
  52.     void FreeResources(void);
  53.     BOOL WritePrivateProfileInt(LPSTR lpSection, LPSTR lpItem, DWORD Int, LPSTR lpFileName);
  54.  
  55.     /* Functions in ST-WND-M.C */
  56.         void RegisterSPELTEST_MAIN(void);
  57.         long FAR PASCAL SPELTEST_MAINWndProc(HWND hWnd, UINT wMsg, WORD wParam, LONG lParam);
  58.         BOOL FAR PASCAL _export DLG_OptionsBox(HWND hDlg, UINT msg, WORD wParam, LONG lParam);
  59.  
  60. /* define structures in modules */
  61.     EXTERN     struct globals    g;
  62.     EXTERN  struct options    o;
  63.